package com.gz.droolsrule.dao;

import com.gz.droolsrule.pojo.BaseRuleEntityItemInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName: BaseRuleEntityItemInfoMapper <br/>
 * Description: <br/>
 * date: 2019/5/29 16:40<br/>
 *
 * @author gz<br />
 * @since JDK 1.8
 */
@Mapper
public interface BaseRuleEntityItemInfoMapper {
    /**
     *
     * 方法说明: 根据实体id获取规则引擎实体属性信息
     * @param baseRuleEntityItemInfo 参数
     */
    List<BaseRuleEntityItemInfo> findBaseRuleEntityItemInfoList(BaseRuleEntityItemInfo baseRuleEntityItemInfo);

    /**
     * <p>
     * 方法说明: 根据id获取对应的属性信息
     *
     * @param id 属性Id
     */
    BaseRuleEntityItemInfo findBaseRuleEntityItemInfoById(@Param("id") Long id);
}
